import 'package:flutter/services.dart';

class StreamingEnv {
  static const MethodChannel _channel = const MethodChannel('PLDroidMediaStreaming');

  static Future init() async {
    await _channel.invokeMethod('init');
  }

  static Future setLogLevel(int level) async {
    await _channel.invokeMethod('setLogLevel', {
      "level": level
    });
  }
}